From: Paul Donald Date: Sat, 1 Nov 2025 22:03:13 +0000 (+0100) Subject: luci-app-firewall: add the any value for ipsets family X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=f9e6538c4c538021e1901b8f63fd0bb7c7f41646;p=project%2Fluci.git luci-app-firewall: add the any value for ipsets family Allow some extra flexibility for rules that are IP family agnostic. Closes #8061 Signed-off-by: Paul Donald --- diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js index 0b767d1576..ddcf2e02bd 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js @@ -65,6 +65,7 @@ return view.extend({ o = s.option(form.ListValue, 'family', _('Family')); + o.value('any', _('IPv4 and IPv6')) o.value('ipv4', _('IPv4')); o.value('ipv6', _('IPv6')); o.default = 'ipv4';